import Main from '@/views/Main'

const warehouseRouter = {
  path: '/warehouse',
  component: Main,
  redirect: '/warehouse/warehouseIn',
  name: 'Warehouse',
  meta: {
    title: 'Warehouse'
  },
  children: [
    {
      path: 'warehouseIn',
      component: () => import('@/views/warehouse/WarehouseIn'),
      name: 'WarehouseIn',
      meta: { title: 'WarehouseIn' }
    },
    {
      path: 'warehouseOut',
      component: () => import('@/views/warehouse/WarehouseOut'),
      name: 'WarehouseOut',
      meta: { title: 'WarehouseOut' }
    }
  ]
}
export default warehouseRouter
